<template>
  <div class="table">
    <el-container>
      <el-header>
          <div class="title">Zzyou球鞋商城后台管理系统</div>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <NavMenu></NavMenu>
        </el-aside>
        <el-container>
          <el-main v-loading="this.$store.state.isLoading">
            <router-view v-if="this.$store.state.isShow"></router-view>
          </el-main>
          <el-footer>Footer</el-footer>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<style scoped>
.el-header {
  background-color: #545c64;
  color: #fff;
  line-height: 60px;
}
.el-aside::-webkit-scrollbar {
  width: 0 !important;
}
</style>

<script>
import NavMenu from './NavMenu'
export default {
  components:{
    NavMenu
  },
};
</script>